package com.dindang.checkline.mvp.model.entity;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;

import java.util.Date;
import org.greenrobot.greendao.annotation.Generated;

/**
 * Created by cxw on &{DATE}
 */
@Entity
public class ItemDetailEntity {
    @Id(autoincrement = true)
    public Long id;
    public Long itemId;//巡检项id
    public Long pointid;//巡检点id
    public String status;//0未检查1正常2异常
    public String unomalDescribe;//异常说明
    public String userid;//登录用户内部编码
    public String img;//图片
    public String remarks;//备注
    public String checkTime;//检查的时间

    @Generated(hash = 630651470)
    public ItemDetailEntity(Long id, Long itemId, Long pointid, String status,
            String unomalDescribe, String userid, String img, String remarks,
            String checkTime) {
        this.id = id;
        this.itemId = itemId;
        this.pointid = pointid;
        this.status = status;
        this.unomalDescribe = unomalDescribe;
        this.userid = userid;
        this.img = img;
        this.remarks = remarks;
        this.checkTime = checkTime;
    }

    @Generated(hash = 693881545)
    public ItemDetailEntity() {
    }

public static class DetailParam{
    public String recordItemId;
    public String cPhoto;
    public String status;//1正常8异常
    public String reMark;//异常说明
    }


    public void setItemId(Long itemId) {
        this.itemId = itemId;
    }

    public Long getItemId() {
        return itemId;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getUnomalDescribe() {
        return unomalDescribe;
    }

    public void setUnomalDescribe(String unomalDescribe) {
        this.unomalDescribe = unomalDescribe;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public void setPointid(Long pointid) {
        this.pointid = pointid;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public Long getPointid() {
        return pointid;
    }

    public String getRemarks() {
        return remarks;
    }

    public String getCheckTime() {
        return checkTime;
    }

    public void setCheckTime(String checkTime) {
        this.checkTime = checkTime;
    }
}
